using Orchard.ContentManagement;

namespace Kwd.Summary.Models
{
  /// <summary>
  /// Summary part.
  /// </summary>
  /// <remarks>
  /// The <see cref="SummaryPartDriver"/> shapes this.
  /// </remarks>
  public class SummaryPart : ContentPart<SummaryPartRecord>
  {
    #region Record backed
    public string StrategyName
    {
      get { return this.Record.StrategyName; }
      set { this.Record.StrategyName = value; }
    }

    public string Text
    {
      get { return Record.Text; }
      set { Record.Text = value; }
    }

    public string Format
    {
      get { return Record.Format; }

      set { Record.Format = value; }
    }
    #endregion
  }
}